package com.example.demo.mapper;


import com.example.demo.model.ArticleInfo;
import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    public  int add(@Param("username") String username,@Param("password") String password);
    public UserInfo login(@Param("username") String username, @Param("password") String password);
    public UserInfo getUserByName(@Param("username") String username);
    public UserInfo myInfo2(@Param("id")Integer id);
}
